<template>
	<view>
		<button @click="consultEndClick">咨询完工弹窗</button>
		<button @click="upWorderClick">跟新工单弹窗</button>
		<button @click="warnOrderClick">催单处理弹窗</button>
		<button @click="reworkClick">返工处理弹窗</button>
		<button @click="qualityPopupClick">水质检测弹窗</button>
		<button @click="appraisePopupClick">评价弹窗</button>
		<button @click="faultreePopupClick">故障树菜单</button>
		<button @click="maintenanceCorePopupClick">保养换芯弹窗</button>
		<consultEndPopup ref="consultEndPopup"/>
		<upWorderPopup ref="upWorderPopup" />
		<warnOrderPopup ref="warnOrderPopup" />
		<reworkPopup ref="reworkPopup"/>
		<waterQuality ref="waterQuality"/>
		<appraisePopup  ref="appraisePopup"/>
		<faultreePopup ref="faultreePopup"/>
		<maintenanceCorePopup ref="maintenanceCorePopup"/>
	</view>
</template>

<script>
	import consultEndPopup from '@/components/ConsultEndPopup'
	import upWorderPopup from '@/components/UpWorderPopup'
	import warnOrderPopup from '@/components/WarnOrderPopup'
	import reworkPopup from '@/components/ReworkPopup'
	import waterQuality from '@/components/WaterQualityPopup'
	import appraisePopup from '@/components/AppraisePopup'
	import faultreePopup from '@/components/FaultreePopup'
	import maintenanceCorePopup from '@/components/MaintenanceCorePopup'
	export default {
		components:{
			consultEndPopup,
			upWorderPopup,
			warnOrderPopup,
			reworkPopup,
			waterQuality,
			appraisePopup,
			faultreePopup,
			maintenanceCorePopup
		},
		data() {
			return {
				
			}
		},
		onLoad() {
			let phone = "18500345204";
			let Keyword = "3793";
			// this.WOListSearchAsync(phone, Keyword, this.UserInfo.RetId);
		},
		methods: {
			appraisePopupClick(e){
				this.$refs.appraisePopup.openPoPup()
			},
			qualityPopupClick(e){
				this.$refs.waterQuality.openPoPup()
			},
			warnOrderClick(e){
				this.$refs.warnOrderPopup.openPoPup()
			},
			consultEndClick(e){
				this.$refs.consultEndPopup.openPoPup()
			},
			upWorderClick(e){
				this.$refs.upWorderPopup.openPoPup()
			},
			reworkClick(e){
				this.$refs.reworkPopup.openPoPup();
			},
			faultreePopupClick(e){
				this.$refs.faultreePopup.openPoPup();
			},
			maintenanceCorePopupClick(e){
				this.$refs.maintenanceCorePopup.openPoPup();
			}
			// async WOListSearchAsync(userPhone, Keyword, token) {
			// 	let result = await this.testService.WOListSearchAsync(userPhone, Keyword, token);
			// 	console.log(result);
			// },
		}
	}
</script>

<style>

</style>
